package com.yydm.serviceedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yydm
 * @since 2022-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AutomobileCategory对象", description="汽车分类")
public class AutomobileCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "汽车类别ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "父ID")
    private Integer parentId;

    @ApiModelProperty(value = "类别名称")
    private String category;


}
